package org.flown.shop.entity;

import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;
import lombok.EqualsAndHashCode;


@EqualsAndHashCode(callSuper = true)
@Data
public class Store extends BaseEntity
{
    private int id = 0;
    @NotNull @Min(1)
    private int sellerID;
    @NotNull
    private String name;

    public Store(int seller_id, String name)
    {
        this.sellerID = seller_id;
        this.name = name;
    }


}


